//
//  UIImage+Common.h
//  gamebox_qpp
//
//  Created by 赵隆杰 on 2022/8/30.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (Common)

+ (nullable UIImage *)imageNamed_myself:(NSString *)name;
+ (nullable UIImage *)imageNamed_ic_main:(NSString *)name;
+ (nullable UIImage *)imageNamed_common:(NSString *)name;

+(UIImage *)coreBlurImage:(UIImage *)image withBlurNumber:(CGFloat)blur;

//根据图片获取图片的主色调
+ (void)getSubjectColor:(void(^)(UIColor *color))callBack withImage:(UIImage *)image;

@end

NS_ASSUME_NONNULL_END
